//
//  DrugDetailViewController.h
//  TestARC
//
//  Created by wuxiaoquan on 12-9-28.
//
//

#import <UIKit/UIKit.h>
#import "JSON/SBJson.h"
#import "ASIHTTP/ASIHTTPRequest.h"
#import "ASIHTTP/ASIFormDataRequest.h"
#import "BaseNavViewController.h"

@interface DrugDetailViewController : BaseNavViewController <UITableViewDataSource,UITableViewDelegate>
{
    __weak ASIHTTPRequest *request;
    __weak ASIFormDataRequest *request4Comment;
}

@property IBOutlet UILabel *commonNameLabel;
@property IBOutlet UILabel *nameLabel;
@property IBOutlet UIButton *overlayBtn;
@property IBOutlet UITableView *operationTableView;
@property IBOutlet UIView *nameView;
@property IBOutlet UIImageView *arrowIV;

@property NSString *name;
@property NSString *commonName;
@property NSString *brandName;
@property NSString *queryId;

@property NSArray  *operationArray;
@property NSArray  *diseaseArray;

-(IBAction)searchDrugsLike:(id)sender;
-(void)loadNetData;
-(void)setOperationView;
-(void)addOperationBtn;
-(IBAction)showDetail:(id)sender;

-(IBAction)writeComment:(id)sender;
-(IBAction)showComment:(id)sender;

-(void)loadDiseaseList;

@end
